VB.Net - Strings - programming examples of enhanced string processing (VB.Net Programming by Example Book 1) by John Clark Craig

VB.Net - Strings - programming examples of enhanced string processing (VB.Net Programming by Example Book 1) by John Clark Craig

Author:John Clark Craig [Craig, John Clark]
Language: eng
Format: azw3
Publisher: Books To Believe In
Published: 2010-12-10T16:00:00+00:00


The all-upper-case results are written to the output file, located in the same folder as the input file. Open the UPPERCASE.txt file there to see the results of the edit.

'Write the string to the output file

My.Computer.FileSystem.WriteAllText(outFile, work, False)

'Let user know it's done

MsgBox("Done!", MsgBoxStyle.OkOnly, "File Read Write")

End Sub

Here's the Jabberwocky poem in all uppercase, as written to the UPPERCASE.txt file in the same folder where jabberwocky.txt resides.

`TWAS BRILLIG, AND THE SLITHY TOVES

DID GYRE AND GIMBLE IN THE WABE:

ALL MIMSY WERE THE BOROGOVES,

AND THE MOME RATHS OUTGRABE.

"BEWARE THE JABBERWOCK, MY SON!

THE JAWS THAT BITE, THE CLAWS THAT CATCH!

BEWARE THE JUBJUB BIRD, AND SHUN

THE FRUMIOUS BANDERSNATCH!"

HE TOOK HIS VORPAL SWORD IN HAND:

LONG TIME THE MANXOME FOE HE SOUGHT --

SO RESTED HE BY THE TUMTUM TREE,

AND STOOD AWHILE IN THOUGHT.

AND, AS IN UFFISH THOUGHT HE STOOD,

THE JABBERWOCK, WITH EYES OF FLAME,

CAME WHIFFLING THROUGH THE TULGEY WOOD,

AND BURBLED AS IT CAME!

ONE, TWO! ONE, TWO! AND THROUGH AND THROUGH

THE VORPAL BLADE WENT SNICKER-SNACK!

HE LEFT IT DEAD, AND WITH ITS HEAD

HE WENT GALUMPHING BACK.

"AND, HAS THOU SLAIN THE JABBERWOCK?

COME TO MY ARMS, MY BEAMISH BOY!

O FRABJOUS DAY! CALLOOH! CALLAY!"

HE CHORTLED IN HIS JOY.

`TWAS BRILLIG, AND THE SLITHY TOVES

DID GYRE AND GIMBLE IN THE WABE;

ALL MIMSY WERE THE BOROGOVES,

AND THE MOME RATHS OUTGRABE.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.